package org.jsbd.boss.dao;

import java.util.List;

import org.jsbd.boss.domian.channel.ApkDevice;
import org.jsbd.boss.domian.channel.MobileClient;

public interface IDeviceConfigDAO {

	/**
	 * 
	 * selectDevices:根据mark查询设备信息
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param mark
	 * @return
	 */
	public List<MobileClient> selectMobileClients(String mark);

	
	/**
	 * 
	 * selectDevices:根据apkId查询设备信息
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param mark
	 * @return
	 */
	public List<ApkDevice> selectDevices(Integer apkId);

	List<ApkDevice> selectAllDevices();

	/**
	 * 
	 * insertDevices:插入
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param apkDevice
	 * @return
	 */
	public Integer insertDevice(ApkDevice apkDevice);

	/**
	 * 
	 * insertApkDevices:批量插入
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param deviceList
	 */
	public void insertApkDevices(List<ApkDevice> deviceList);

	/**
	 * 
	 * delApkDevices:删除mark的设备信息
	 * 
	 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
	 * @param mark
	 */
	public Integer delApkDevices(Integer apkId);

}
